import axiosData from "@/api/axios";

export default {
  /**
   * @description: 获取审核通过和未通过列表 *代表必填
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @param {Object} entity {} *
   * @return {Array}
   */
  queryPageList(params) {
    return axiosData.post("/v3/equipment-hitch/v1/repairTask/queryPageList", params);
  },
  // /**
  //  * @description: 获取作废列表 *代表必填
  //  * @param {String/Number} page *
  //  * @param {String/Number} size *
  //  * @param {Object} entity {} *
  //  * @return {Array}
  //  */
  // queryAnPageList(params) {
  //   return axiosData.post("/v3/equipment-hitch/hitchApplyAudit/out/queryPageList", params);
  // },
  /**
   * @description:委外维修处理
   * @param {Object} params *
   * @return {Object}
   */
  addReOut(params) {
    return axiosData.post("/v3/equipment-hitch/v1/repairTask/addHandle", params);
  },
  /**
  * @description: 委外维修再次申请
  * @param {Object} params *
  * @return {Object}
  */
  addApplyOut(params) {
    return axiosData.post("/v3/equipment-hitch/v1/hitchApplyAudit/addApply", params);
  }
};
